<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单学习</title>
</head>
<body>
    <form action="">
        用户名: <input type="text" name="username" id="username"> <br>
        密码：<input type="password" name="password"> <br>
        性别：<label for="man">男</label><input type="radio" name="sex" id="man">  <br>
        爱好：吃饭<input type="checkbox" name="hobby" checked> 睡觉<input type="checkbox" name="hobby"> 学习<input type="checkbox" name="hobby"><br>
        女<input type="radio" name="sex" checked=""><br>
        提交：<input type="submit" value="GoodLuck"> 重置：<input type="reset" value="Time Machine"><br>
        普通按钮：<input type="button" value="哈哈哈">
        <label for="username">用户名2</label><br>
        籍贯：
        <select name="" id="jg">
            <option value="">北京</option>
            <option value="" selected="">四川</option>
            <option value="">浙江</option>
        </select>
        <br>
        <textarea name="" id="" cols="30" rows="10" placeholder="请输入..."></textarea>
    </form>
</body>
</html>